package io.seata.samples.sc.tccat.db;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 分布式事务 TCC 应用，数据库操作服务提供者
 *
 * @author lenovo
 */
@EnableDiscoveryClient
@MapperScan(basePackages = {"io.seata.samples.sc.tccat.db.dao"})
@SpringBootApplication
public class ScTccAtProviderDbApplication {
    public static void main(String[] args) {
        SpringApplication.run(ScTccAtProviderDbApplication.class, args);
    }
}

